<%--
  Created by IntelliJ IDEA.
  User: lt
  Date: 2017/5/9
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>集团支付列表</title>
    <%@ include file="/common/include-core.jsp" %>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 订单管理 <span class="c-gray en">&gt;</span> 集团支付列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>

<%--<div class="text-c">--%>
    <%--<form action="/order/selectOrder.html" method="post" id="orderLike">--%>
        <%--<input type="text" class="input-text" style="width:250px" placeholder="输入用户名" name="distributionName" value="${order.distributionName}">--%>
        <%--<input type="text" class="input-text" style="width:250px" placeholder="输入用户电话" name="distributionPhone" value="${order.distributionPhone}">--%>
        <%--<input type="text" class="input-text" style="width:250px" placeholder="输入订单ID" name="orderId" value="${order.orderId}">--%>
       <%--<select class="select-box" style="width:250px" name="status">--%>
            <%--<option value="" ${order.status==''?"selected":""}>无</option>--%>
            <%--<option value="1" ${order.status==1?"selected":""}>未付款</option>--%>
            <%--<option value="2" ${order.status==2?"selected":""}>已付款</option>--%>
            <%--<option value="12" ${order.status==12?"selected":""}>待发货</option>--%>
        <%--</select>--%>
        <%--<button type="submit" class="btn btn-success radius" id="selectOrder"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>--%>
    <%--</form>--%>
<%--</div>--%>


<div class="text-c">
    <form action="/groupPay/groupPayList.html" method="post" id="searchForm">
        <input type="hidden" id="count" value="${pageInfo.total }" />
        <input type="hidden" id="page" name="page" value="${pageInfo.pageNum }" />
        <input type="hidden" id="pageSize" name="pageSize" value="${pageInfo.pageSize }" />
        <div class="Hui-article">
            <article class="cl pd-20">
                <a href="javascript:void(0);" class="btn btn-success radius l" id="groupPayExcelOut">模板Excel导出</a>
                <span class="btn-upload form-group">
                    <input class="input-text upload-url" type="text" name="photo" id="photo" readonly nullmsg="请添加文件！"
                           style="width:200px">
                    <a href="javascript:void(0);" class="btn btn-primary radius upload-btn"><i class="Hui-iconfont">&#xe642;</i> 浏览文件</a>
                    <input type="file" multiple name="file" class="input-file" id="groupPayExcelInFile">
				</span>
                <input type="button" id="groupPayExcelIn" class="btn btn-success radius" value="确定提交"/>
            </article>
        </div>
    </form>
</div>
<div class="page-container">
    <%--<div class="cl pd-5 bg-1 bk-gray"> <span class="l"> <a class="btn btn-primary radius" href="javascript:;" onclick="layer_show('添加用户','/user/UserAdd.html','400','200')"><i class="Hui-iconfont">&#xe600;</i> 添加角色</a> </span> </div>--%>
    <table class="table table-border table-bordered table-hover table-bg">
        <thead>
        <tr>
            <th scope="col" colspan="8">集团支付列表</th>
        </tr>
        <tr class="text-c">
            <th width="15">序号</th>
            <th width="30">用户名字</th>
            <th width="30">用户电话</th>
            <th width="20">订单ID</th>
            <th width="40">价格</th>
            <th width="15">支付方式</th>
            <th width="15">订单状态</th>
            <th width="15">创建时间</th>
        </tr>
        </thead>
        <tbody>
            <c:forEach items="${pageInfo.list}" var="item" varStatus="index">
                <tr class="text-c">
                    <td>${index.index+1}</td>
                    <td>${item.distributionName}</td>
                    <td>${item.distributionPhone}</td>
                    <td>${item.orderId}</td>
                    <td><fmt:formatNumber value="${item.orderPrice/100}" type="currency"/></td>
                    <td class="td-status">
                        <c:if test="${item.payMode==1}"><span class="label label-success radius">卡劵</span></c:if>
                        <c:if test="${item.payMode==2}"><span class="label label-success radius">网站网银</span></c:if>
                        <c:if test="${item.payMode==3}"><span class="label label-success radius">网站支付宝</span></c:if>
                        <c:if test="${item.payMode==4}"><span class="label label-success radius">网站微信</span></c:if>
                        <c:if test="${item.payMode==5}"><span class="label label-success radius">余额</span></c:if>
                        <c:if test="${item.payMode==6}"><span class="label label-success radius">wap微信</span></c:if>
                        <c:if test="${item.payMode==7}"><span class="label label-success radius">wap支付宝</span></c:if>
                        <c:if test="${item.payMode==8}"><span class="label label-success radius">活动优惠</span></c:if>
                        <c:if test="${item.payMode==9}"><span class="label label-success radius">集团支付（七星瓢虫）</span></c:if>
                    </td>
                    <td class="td-status">
                        <c:if test="${item.status==-2}"><span class="label label-defaunt radius">已经删除订单</span></c:if>
                        <c:if test="${item.status==-1}"><span class="label label-defaunt radius">已过期</span></c:if>
                        <c:if test="${item.status==0}"><span class="label label-success radius">已取消</span></c:if>
                        <c:if test="${item.status==1}"><span class="label label-success radius">未付款</span></c:if>
                        <c:if test="${item.status==2}"><span class="label label-success radius">已付款</span></c:if>
                        <c:if test="${item.status==3}"><span class="label label-success radius">未验证</span></c:if>
                        <c:if test="${item.status==4}"><span class="label label-success radius">已验证</span></c:if>
                        <c:if test="${item.status==5}"><span class="label label-success radius">交易完成</span></c:if>
                        <c:if test="${item.status==6}"><span class="label label-success radius">申请退款</span></c:if>
                        <c:if test="${item.status==7}"><span class="label label-success radius">取消退款</span></c:if>
                        <c:if test="${item.status==8}"><span class="label label-success radius">已退款</span></c:if>
                        <c:if test="${item.status==9}"><span class="label label-success radius">订单关闭</span></c:if>
                        <c:if test="${item.status==10}"><span class="label label-success radius">部分支付</span></c:if>
                        <c:if test="${item.status==11}"><span class="label label-success radius">支付失败订单关闭</span></c:if>
                        <c:if test="${item.status==12}"><span class="label label-success radius">待发货</span></c:if>
                        <c:if test="${item.status==13}"><span class="label label-success radius">已发货,待收货</span></c:if>
                        <c:if test="${item.status==14}"><span class="label label-success radius">已收货</span></c:if>
                        <c:if test="${item.status==15}"><span class="label label-success radius">已选号</span></c:if>
                        <c:if test="${item.status==16}"><span class="label label-success radius">选号失败</span></c:if>
                        <c:if test="${item.status==17}"><span class="label label-success radius">已撤单</span></c:if>
                    </td>
                    <td><fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd HH:mm" /></td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
    <div class="ui-page tr mt10" style="float: right;margin-top: 10px;margin-bottom: 10px"></div>
</div>
<%--<script type="text/javascript" src="/static/js/order/order.js"></script>--%>
</body>
</html>
<script type="text/javascript" src="/static/js/groupPay/groupPayList.js"></script>
<%@ include file="/common/include-footer.jsp" %>